xentrace: Remove redundant tb_done_init checks, and add missing ones.
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 11 Feb 2008 09:47:19 +0000 (09:47 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 11 Feb 2008 09:47:19 +0000 (09:47 +0000)
commite1b02119e639a9e13f79c99d145bf8a3c535593a
tree6218d66cc914d3462ada18ff5fb72f643c3624ba
parent1c8d4c1040bcfda0be3402025efe15c360c2c52d
xentrace: Remove redundant tb_done_init checks, and add missing ones.
Hand inspection of gcc -02 output confirms significantly shorter
codepaths for inactive (i.e. normal case) tracing.

Signed-off-by: Michael A Fetterman <Michael.Fetterman@cl.cam.ac.uk>
xen/arch/x86/trace.c
xen/include/asm-x86/hvm/trace.h
xen/include/asm-x86/trace.h
xen/include/xen/trace.h